package com.shigu.postFee.bo;

import com.shigu.MallRequest;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

public class AddPostModelRequest extends MallRequest {
    @NotNull
    private Integer type;//模板类型
    @NotBlank
    private String name;//模板名称
    private Double fee; //　基本费用
    private Integer limit; // 数量阈值,计重的单位为g
    private Integer increase; //每超过多少
    private String increaseFee; //超过 的单位费用

    private String provIds;//　省份
    private Integer sonType;
    private String  sonFee;
    private Integer sonLimit;
    private Integer sonIncrease;
    private String sonIncreaseFee;

    @NotNull
    public Integer getType() {
        return type;
    }

    public void setType(@NotNull Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getFee() {
        return fee;
    }

    public void setFee(Double fee) {
        this.fee = fee;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getIncrease() {
        return increase;
    }

    public void setIncrease(Integer increase) {
        this.increase = increase;
    }

    public String getIncreaseFee() {
        return increaseFee;
    }

    public void setIncreaseFee(String increaseFee) {
        this.increaseFee = increaseFee;
    }

    public String getProvIds() {
        return provIds;
    }

    public void setProvIds(String provIds) {
        this.provIds = provIds;
    }

    public Integer getSonType() {
        return sonType;
    }

    public void setSonType(Integer sonType) {
        this.sonType = sonType;
    }

    public String getSonFee() {
        return sonFee;
    }

    public void setSonFee(String sonFee) {
        this.sonFee = sonFee;
    }

    public Integer getSonLimit() {
        return sonLimit;
    }

    public void setSonLimit(Integer sonLimit) {
        this.sonLimit = sonLimit;
    }

    public Integer getSonIncrease() {
        return sonIncrease;
    }

    public void setSonIncrease(Integer sonIncrease) {
        this.sonIncrease = sonIncrease;
    }

    public String getSonIncreaseFee() {
        return sonIncreaseFee;
    }

    public void setSonIncreaseFee(String sonIncreaseFee) {
        this.sonIncreaseFee = sonIncreaseFee;
    }
}
